﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Nop.Web.Framework.Themes;

namespace Spotshub.Plugin.Payments.GlobalPayments.ViewEngines
{
    class SpotsHUBGlobalPaymentsViewEngine : ThemeableRazorViewEngine
    {
        public SpotsHUBGlobalPaymentsViewEngine()
        {
            PartialViewLocationFormats = 
                new[]
                {
                    "~/Plugins/Payments.GlobalPayments/Views/{0}.cshtml"
                };
            ViewLocationFormats =
                new[]
                {
                    "~/Plugins/Payments.GlobalPayments/Views/{0}.cshtml"
                };
        }
    }
}
